package com.bafa.front.events;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.bafa.front.presentationbeans.ControlPanelBean;
import com.bafa.jdbc.DBAccess;
import com.bafa.objects.PageBean;

public class DisplayControlPanelEvent extends Event {

	@Override
	public void doEvent(HttpServletRequest request,
			HttpServletResponse response, PageBean page) {
		ControlPanelBean bean = new ControlPanelBean();
		
		bean.setLeagueName(new DBAccess().retrieveReference("sitename"));
		request.setAttribute("CONTROL",bean);

	}

}
